<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/hello/testRequestMapping}">测试RequestMapping注解位置</a>

<form th:action="@{/testRequestParam}" method="post">
    <input type="text" name="username">
    <input type="text" name="id">
    <input type="submit" value="提交">
</form>

</body>
</html>